app.service('columnAddService',['$q','utilService',function($q,utilService){
    var _this_=this;
    _this_.column={};
    //禁用启用
    _this_.addColumn = function($scope){
        var deferred = $q.defer();
        utilService.api({
            url:$scope.app.domain + 'column',
            data:_this_.column
        }).then(function(result){
            deferred.resolve(result);
        });
        return deferred.promise;
    }
}]);
